This is some leftover from code that was used to keep track of volumes
added/removed while the screen was locked before the move to a
components system in
2a800e4c. All that the remaining code does is
filter devices from an empty list.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1579>
var AutomountManager = class {
constructor() {
this._settings = new Gio.Settings({ schema_id: SETTINGS_SCHEMA });
- this._volumeQueue = [];
this._activeOperations = new Map();
this._session = new GnomeSession.SessionManager();
this._session.connectSignal('InhibitorAdded',
GLib.source_remove(volume._allowAutorunExpireId);
delete volume._allowAutorunExpireId;
}
- this._volumeQueue =
- this._volumeQueue.filter(element => element != volume);
}
_reaskPassword(volume) {